package guet.dream.answer;

import java.sql.Timestamp;
import java.util.HashMap;

public class Answer {

	private int questionId;
	private String content;
	private Timestamp answerTime;


	public Answer(){}
	
	public Answer(int id, String content, Timestamp time) {
		this.questionId = id;
		this.content = content;
		this.answerTime = time;
	}

	public int getQuestionId() {
		return questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getAnswerTime() {
		return answerTime;
	}

	public void setAnswerTime(Timestamp answerTime) {
		this.answerTime = answerTime;
	}

}
